package com.wetsion.securityoauthdemo.client.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by wetsion on 2019/3/3.
 */
@Controller
public class IndexController {

    @GetMapping({"/", "/index"})
    public String index() {
        return "index";
    }

    @GetMapping("/list")
    public String list() {
        return "index";
    }

    @GetMapping("login")
    public void login() {

    }
}
